<div id="dlgListProvider" title="Danh sách quán ăn">
<?php
	global $ubi;
	
	for ($i = 0; $i < count($listProvider); $i++) {
		$provider = $listProvider[$i];
		$img = $imgs[$provider->getProviderID()];
		?>
		<div style="float:left">
			<div style="width:100px;margin:0 auto;text-align:center;">
				<img src="<?php echo $ubi['SERVER']['THUMBNAIL_PATH'] . "/" . $img ?>" width="80px" />
				<a href="index.php?view&type=provider&id=<?php echo $provider->getProviderID()?>">
					<?php echo $provider->getProvider(); ?>
				</a>
			</div>
		</div>
		<?php 
	} 
?>	
</div>

<script language="javascript">
	$('#dlgListProvider').dialog({autoOpen: true, width:'360px'});	
</script>